import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/css/global.less'//引入全局样式配置文件
//引入字体文件
import './assets/font/iconfont.css'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
import BaiduMap from 'vue-baidu-map';
Vue.use(BaiduMap, {
  ak: 'dS4Qs3jxH5n6GqdoK1t7nXKzA8GGFbrE'
})

// 全局的echarts对象挂载到vue的原型对象上
// 在别的组件中使用通过 this.$echarts
Vue.prototype.$echarts = window.echarts
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
